WebDevStudios\CCForWoo\View\Admin\WooTab A

Total Complexity 65
Dependencies 5
Dependents 0
Total lines 865
Lines of code 422
Logical lines of code 135
Comment lines 334
Methods 31
Properties 6

Methods 31

Method Rating Maintainability Complexity Lines of code
get_store_information_settings()
S
36 1 107
process_errors()
S
58 6 15
get_settings()
S
56 5 21
adjust_styles()
S
61 4 12
save()
S
63 4 11
add_cc_connection_button()
S
54 3 24
get_default_settings_options()
S
59 3 15
add_rest_fields()
S
61 3 12
validate_value()
S
61 3 12
validate_option_values()
S
66 3 9
requested_connect_to_cc()
S
65 3 9
maybe_update_connection_status()
S
66 3 8
maybe_add_connection_button()
S
70 3 6
get_customer_data_settings()
S
52 1 28
register_hooks()
S
55 1 18
get_connection_established_options()
S
60 1 16
sanitize_phone_number()
S
70 2 6
__construct()
S
67 2 7
maybe_redirect_to_cc()
S
66 2 8
meets_connect_requirements()
S
60 1 14
render_cta_button()
S
64 1 12
allow_redirect_to_cc()
S
77 1 4
get_connection_attempted_options()
S
64 1 10
add_rest_group()
S
67 1 8
update_setup_option()
S
80 1 3
get_filtered_settings()
S
77 1 3
get_woo_country()
S
79 1 3
get_sections()
S
67 1 7
get_rest_settings_options()
S
72 1 6
get_connection_button()
S
74 1 5
has_active_settings_section()
S
78 1 3